package com.stg.bean;

import org.springframework.stereotype.Component;

@Component
public class Student {

	private long id;
	private String studentId;	//学号
	private String name;		//姓名
	private int sex;			//性别：0.男；1.女
	private String tel;			//电话
	private String email;		//电子邮箱
	private int senior;			//年级：0.大一；1.大二；2.大三；3.大四；4.研一；5.研二；6.其他
	private int is_del;			//是否删除：0.未删；1.已删
	private String content;		//注释
	
	public Student(){
		this.is_del = 0;
	}
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getStudentId() {
		return studentId;
	}
	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getSenior() {
		return senior;
	}
	public void setSenior(int senior) {
		this.senior = senior;
	}
	public int getIs_del() {
		return is_del;
	}
	public void setIs_del(int is_del) {
		this.is_del = is_del;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", studentId=" + studentId + ", name="
				+ name + ", sex=" + sex + ", tel=" + tel + ", email=" + email
				+ ", senior=" + senior + ", content=" + content +  "]";
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	
}
